#include "cxiexpandgroupboxdesigner.h"
#include <controls/expandgroupbox/cxiexpandgroupbox.h>

CxiExpandGroupBoxDesigner::CxiExpandGroupBoxDesigner(QObject* parent) : CxiDesignerBase(parent)
{
	d_name = "CxiExpandGroupBox";
	d_include = "controls/expandgroupbox/cxiexpandgroupbox.h";
	d_domXml =
			"<widget class=\"CxiExpandGroupBox\" name=\"cxiExpandGroupBox\">\n"
			" <property name=\"geometry\">\n"
			"  <rect>\n"
			"   <x>0</x>\n"
			"   <y>0</y>\n"
			"   <width>200</width>\n"
			"   <height>100</height>\n"
			"  </rect>\n"
			" </property>\n"
			" <property name=\"title\">\n"
			" <string>ExpandGroupBox</string>\n"
			" </property>\n"
			"</widget>\n";

}

QWidget* CxiExpandGroupBoxDesigner::createWidget(QWidget* parent)
{
	return new CxiExpandGroupBox(parent);
}

bool CxiExpandGroupBoxDesigner::isContainer() const
{
	return true;
}
